/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.proteu.hibernate.beans;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;

/**
 *
 * @author ricardo
 */
@Entity
@Table(name="PACIENTESDESMARCADOS")
public class PacientesDesmarcadosProteu implements Serializable{

    @Id
    @Column(name="PCD_ST_CODIGO")
    private String pcdStCodigo;
    @Column(name="PCD_DT_DESMARCADO")
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date pcdDtDesmarcado;
    @Column(name="PCD_ST_USUARIO")
    private String pcdStUsuario;
    @Column(name="AGD_ST_CODIGO")
    private String agdStCodigo;
    @Column(name="PAC_ST_RG")
    private String pacStRG;
    @Column(name="PAC_ST_NOME")
    private String pacStNome;
    @Column(name="PAC_ST_FONE_DDD")
    private String pacStFoneDDD;
    @Column(name="PAC_ST_FONE")
    private String pacStFone;
    @Column(name="PAC_ST_CEL_DDD")
    private String pacStCelDDD;
    @Column(name="PAC_ST_CEL")
    private String pacStCel;
    @Column(name="CON_ST_CODIGO")
    private String conStCodigo;
    @Column(name="CON_ST_PLA_CODIGO")
    private String conStPlaCodigo;
    @Column(name="PROC_ST_CODIGO_AMB")
    private String procStCodigoAmb;
    @Column(name="MED_ST_CODIGO")
    private String medStCodigo;
    @Column(name="UNI_IN_CODIGO")
    private Integer uniInCodigo;
    @Column(name="AGD_DT_CONSULTA")
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date agdDtConsulta;
    @Column(name="AGD_ST_HORA_CONSULTA")
    private String agdStHoraConsulta;
    @Column(name="PCD_ST_MOTIVO")
    private String pcdStMotivo;

    public Date getAgdDtConsulta() {
        return agdDtConsulta;
    }

    public void setAgdDtConsulta(Date agdDtConsulta) {
        this.agdDtConsulta = agdDtConsulta;
    }

    public String getAgdStCodigo() {
        return agdStCodigo;
    }

    public void setAgdStCodigo(String agdStCodigo) {
        this.agdStCodigo = agdStCodigo;
    }

    public String getAgdStHoraConsulta() {
        return agdStHoraConsulta;
    }

    public void setAgdStHoraConsulta(String agdStHoraConsulta) {
        this.agdStHoraConsulta = agdStHoraConsulta;
    }

    public String getConStCodigo() {
        return conStCodigo;
    }

    public void setConStCodigo(String conStCodigo) {
        this.conStCodigo = conStCodigo;
    }

    public String getConStPlaCodigo() {
        return conStPlaCodigo;
    }

    public void setConStPlaCodigo(String conStPlaCodigo) {
        this.conStPlaCodigo = conStPlaCodigo;
    }

    public String getMedStCodigo() {
        return medStCodigo;
    }

    public void setMedStCodigo(String medStCodigo) {
        this.medStCodigo = medStCodigo;
    }

    public String getPacStCel() {
        return pacStCel;
    }

    public void setPacStCel(String pacStCel) {
        this.pacStCel = pacStCel;
    }

    public String getPacStCelDDD() {
        return pacStCelDDD;
    }

    public void setPacStCelDDD(String pacStCelDDD) {
        this.pacStCelDDD = pacStCelDDD;
    }

    public String getPacStFone() {
        return pacStFone;
    }

    public void setPacStFone(String pacStFone) {
        this.pacStFone = pacStFone;
    }

    public String getPacStFoneDDD() {
        return pacStFoneDDD;
    }

    public void setPacStFoneDDD(String pacStFoneDDD) {
        this.pacStFoneDDD = pacStFoneDDD;
    }

    public String getPacStNome() {
        return pacStNome;
    }

    public void setPacStNome(String pacStNome) {
        this.pacStNome = pacStNome;
    }

    public String getPacStRG() {
        return pacStRG;
    }

    public void setPacStRG(String pacStRG) {
        this.pacStRG = pacStRG;
    }

    public Date getPcdDtDesmarcado() {
        return pcdDtDesmarcado;
    }

    public void setPcdDtDesmarcado(Date pcdDtDesmarcado) {
        this.pcdDtDesmarcado = pcdDtDesmarcado;
    }

    public String getPcdStCodigo() {
        return pcdStCodigo;
    }

    public void setPcdStCodigo(String pcdStCodigo) {
        this.pcdStCodigo = pcdStCodigo;
    }

    public String getPcdStMotivo() {
        return pcdStMotivo;
    }

    public void setPcdStMotivo(String pcdStMotivo) {
        this.pcdStMotivo = pcdStMotivo;
    }

    public String getPcdStUsuario() {
        return pcdStUsuario;
    }

    public void setPcdStUsuario(String pcdStUsuario) {
        this.pcdStUsuario = pcdStUsuario;
    }

    public String getProcStCodigoAmb() {
        return procStCodigoAmb;
    }

    public void setProcStCodigoAmb(String procStCodigoAmb) {
        this.procStCodigoAmb = procStCodigoAmb;
    }

    public Integer getUniInCodigo() {
        return uniInCodigo;
    }

    public void setUniInCodigo(Integer uniInCodigo) {
        this.uniInCodigo = uniInCodigo;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final PacientesDesmarcadosProteu other = (PacientesDesmarcadosProteu) obj;
        if ((this.pcdStCodigo == null) ? (other.pcdStCodigo != null) : !this.pcdStCodigo.equals(other.pcdStCodigo)) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 3;
        hash = 47 * hash + (this.pcdStCodigo != null ? this.pcdStCodigo.hashCode() : 0);
        return hash;
    }



}
